[LeetCode]題解(python):001-Two-Sum
題目來源: https://leetcode.com/problems/two-sum/ 題意分析: 這道題目是輸入一個數組和target,要在一個數組中找到兩個數字,其和為ta ...
題目來源: https://leetcode.com/problems/two-sum/ 題意分析: 這道題目是輸入一個數組和target,要在一個數組中找到兩個數字,其和為ta ...
題目來源: https://leetcode.com/problems/longest-palindromic-substring/ 題意分析: 這道題目是輸入一段不超過1 ...
題目: 給定一個鏈表,刪除鏈表的倒數第 n 個節點,並且返回鏈表的頭結點。 示例: 說明: 給定的 ...
題目來源: https://leetcode.com/problems/count-and-say/ 題意分析: 字符串列符合這樣的規則:連續出現字符的次數+上這個字符。比如“ ...